Skip to main content

These are WCF services that are missing from new API version of SWC.

WCF services SWC 2017

  • Pollutant
  • Rainfall Download
  • Recent Sites
  • Security Service
  • Simulation Results
  • Soil Data Service
  • SWMM Scenario Calculator
  • Weather Data

Controllers This is from the SWC 2022 Backend.

  • EvaporationController (This is from Weather Data service)

  • HourlyRainfallController (This is from Weather Data service)

  • SimulationResultsController (This is from SWMM Scenario Calculator service (simulation results poll method))

  • SoilDataController (This is from Soil Data Service)

  • Test (This is totally commented out)

  • WeatherForecastController (This is a test functionality nothing to do with SWC.)

List of API functions needed to be added for SWC: They will be listed as part of the

Functionality from SWC2017 that needs to be moved into SwcApiAspnet

All of the functions are currently hardcoded! We are feeding in the login. We are feeding in the site. The Input parameter is also being faked. There is no UI to enter the data into. So it is hardcoded.

Rainfall Downloader

  • getRainfallDatFile (API is set up but needs to be tested)

Recent Sites

  • Store
  • Retrieve
  • RetrieveSiteName

Security (ON Hold we may or may not be using this in the future)

  • Authenticate
  • Authorize
  • LogOut

SimulationResults

  • downloadINPFile (API is set up but needs to be tested)

SoilDataService

  • GetSoilData (Not totally working due to issue with soil data service) Issue is not due to API not answering.
    • Figure out why Soil Data Service is not working.
      • Look into 303 error response.

SWMMScenarioCalculator

Note this creates a run it does not run the SWCFuntion app So no SWMM/SWC run is being made with this code.

  • Run
  • Poll

WeatherData

  • GetRainfallStations
  • GetEvaporationStationAndData (This one was broken into 2 parts)
    • Get EvaporationStation
    • Get EvaporationData
  • GetHourlyRainfall_WCFEndpoint

This functionally had not been fully implemented in SWC.

Pollutant:

We need to go over the original premise of this functionality. Melissa has a lot more experience with pollutant functionality after SWMMOPT and Chama than the last time this was being implemented. Review the Functional and Design specifications for this and modify as needed.

  • addLandUse
  • Poll